﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Events {
    import flash.events.*;
    import flash.geom.*;
    import Classes.*;

    public class DataItemEvent extends Event {

        public static const MARKET_BUY:String = "buyFromMarket";
        public static const SHOW_TOOLTIP:String = "showItemToolTip";
        public static const WISHLIST_CHANGED:String = "wishlistChanged";
        public static const CLOSE_DIALOG:String = "closeDialog";

        public var item:Item;
        public var pt:Point;
        private var m_offset:Point;
        private var m_params:Object;

        public function DataItemEvent(_arg1:String, _arg2:Item, _arg3:Point=null, _arg4:Boolean=false, _arg5:Boolean=false){
            this.m_offset = new Point(0, 0);
            this.pt = _arg3;
            this.item = _arg2;
            super(_arg1, _arg4, _arg5);
        }
        public function setParams(_arg1:Object):void{
            this.m_params = _arg1;
        }
        public function getParams():Object{
            return (this.m_params);
        }
        public function setOffset(_arg1:Point):void{
            this.m_offset = _arg1;
        }
        public function getOffset():Point{
            return (this.m_offset);
        }

    }
}//package Events 
